// Copyright (c) Symbian Ltd 2008. All rights reserved.

#ifndef __RPSAPPLICATION_H__
#define __RPSAPPLICATION_H__

// INCLUDES
#include <aknapp.h>
#include "rps.hrh"

// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidRpsApp = { _UID3 };


// CLASS DECLARATION

/**
* CRpsApplication application class.
* Provides factory to create concrete document object.
* An instance of CRpsApplication is the application part of the
* AVKON application framework for the rps example application.
*/
class CRpsApplication : public CAknApplication
	{
	public: // Functions from base classes

		/**
		* From CApaApplication, AppDllUid.
		* @return Application's UID (KUidRpsApp).
		*/
		TUid AppDllUid() const;

	protected: // Functions from base classes

		/**
		* From CApaApplication, CreateDocumentL.
		* Creates CRpsDocument document object. The returned
		* pointer in not owned by the CRpsApplication object.
		* @return A pointer to the created document object.
		*/
		CApaDocument* CreateDocumentL();
	};

#endif // __RPSAPPLICATION_H___

// End of File
